package com.itheima.project.face;

import com.itheima.project.exception.ProjectException;
import com.itheima.project.vo.sms.SendMessageVo;
import com.itheima.project.vo.sms.SmsSendRecordVo;

/**
 * @ClassName SmsSendFace.java
 * @Description 邮件发送Face接口
 */
public interface SmsSendFace {

    /***
     * @description 发送短信接口:削峰方式
     * @param sendMessageVo 发送对象
     */
    Boolean sendSmsForMq(SendMessageVo sendMessageVo) throws ProjectException;

    /***
     * @description 发送短信接口:非削峰方式
     * @param sendMessageVo 发送对象
     */
    Boolean sendSms(SendMessageVo sendMessageVo) throws ProjectException;

    /***
     * @description 查询短信接受情况
     * @param smsSendRecordVo 发送记录
     * @return
     */
    Boolean querySendSms(SmsSendRecordVo smsSendRecordVo) throws ProjectException;

    /***
     * @description 重试发送
     * @param smsSendRecordVo
     * @return
     */
    Boolean retrySendSms(SmsSendRecordVo smsSendRecordVo) throws ProjectException;
}
